FROM 10.1.1.154:5000/base/java:8
EXPOSE 8007
ADD target/unistec-fileserver-server-1.0-SNAPSHOT.jar app.jar
ENV PROFILES_ACTIVE = test
ENTRYPOINT java -jar -Xms1024m -Xmx1024m app.jar --spring.profiles.active=$PROFILES_ACTIVE